﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StripeOne.Core.S1Config
{
    internal class S1LogTypeConfig : S1Config
    {
        public bool UseS1Trace
        {
            get
            {
                return base.GetBoolean("s1Trace");
            }
        }
        public bool UseTrace
        {
            get
            {
                return base.GetBoolean("trace");
            }
        }
        public bool UseFile
        {
            get
            {
                return base.GetBoolean("file");
            }
        }
        public bool UseEventViewer
        {
            get
            {
                return base.GetBoolean("eventViewer");
            }
        }
        public bool UseCustom
        {
            get
            {
                return base.GetBoolean("custom");
            }
        }
        public bool UseRedirect
        {
            get
            {
                return base.GetBoolean("redirect", true);
            }
        }
        public S1LogTypeConfig(string logType)
            : base("Log.s1config", logType)
        {
        }
    }
}
